<?php $all_session = $this->session->all_userdata(); ?>
<!DOCTYPE html>
<!-- saved from url=(0056)http://startbootstrap.com/templates/simple-sidebar.html# -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<title>Timeline</title>
<script src="<?php echo base_url();?>js/chart.js"></script>
<?php $this->load->view('panel_head');?>
</head>

<body>
<style>
.dots {
	table-layout:fixed;
}

.dots p {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
</style>
<div style="height:46px; width:100%; position:fixed; z-index:10000;">
  <?php $this->load->view('header');?>
</div>
<div style="height:80px;"></div>

<!-- <div content at here>-->
<div id="page-content-wrapper"> 

  
  <?php $a = 0; $b = 1; ?>
  <?php for($i=0;$i<count($search)/2;$i++) {  ?>
  <div class="row" style="padding-left:1.9em;">
  
  	<div class="col-md-6" style="margin-bottom:2em;">
    	<div class="row">
        	<div class="col-md-6">
            	<a href="<?php echo base_url();?>index.php/player/cs/<?php echo @$search[$a]['vdo_id'];?>">
            	<img src="<?php echo base_url();?>vod_thumb/<?php echo @$search[$a]['vdo_rawfile'];?>/<?php echo @$search[$a]['thumb_name'];?>" width="95%" / >
                </a>
            </div>
            <div class="col-md-6">
            	 <a href="<?php echo base_url();?>index.php/player/cs/<?php echo @$search[$a]['vdo_id'];?>"><?php echo @$search[$a]['vdo_name'];?></a></br>
                  <div class="dots" style="width:70%;">
                      <p style="height:5em;">  <?php echo @$search[$a]['vdo_des'];?></p>
                    </div>
                 <font size="-2"><?php echo @$search[$a]['vdo_view'];?> views</font></br>
                 <font size="-2">Uploaded time : <?php echo @$search[$a]['vdo_uploadtime'];?></font>
            </div>
        </div>
    </div>
    
    
    
    <div class="col-md-6" style="margin-bottom:2em;">
    	<div class="row">
        	<div class="col-md-6">
            	<?php if(@$search[$b]['vdo_rawfile'] != '') { ?>
            	<a href="<?php echo base_url();?>index.php/player/cs/<?php echo @$search[$b]['vdo_id'];?>">
            	<img src="<?php echo base_url();?>vod_thumb/<?php echo @$search[$b]['vdo_rawfile'];?>/<?php echo @$search[$b]['thumb_name'];?>" width="95%" / >
                </a>
                <?php } ?>
            </div>
            <div class="col-md-6">
            	<a href="<?php echo base_url();?>index.php/player/cs/<?php echo @$search[$b]['vdo_id'];?>"><?php echo @$search[$b]['vdo_name'];?></a></br>
                 <div class="dots" style="width:70%;">
                      <p style="height:5em;">  <?php echo @$search[$b]['vdo_des'];?></p>
                    </div>
                 <?php if(@$search[$b]['vdo_id'] != '') { ?>
                 <font size="-2"><?php echo @$search[$b]['vdo_view'];?> views</font></br>
                 <font size="-2">Uploaded time : <?php echo @$search[$b]['vdo_uploadtime'];?></font>
                 <?php } ?>
            </div>
        </div>
    </div>
    
  </div>
  
  <?php $a+=2; $b+=2; ?>
  
  <?php } ?>
  
  
   
  
  
  
  
</div>

<!-- </div dontent at here>--> 

<!-- Custom JavaScript for the Menu Toggle --> 
<script>
    $("#menu-toggle").click(function(e) {
        e.preventDefault();
        $("#wrapper").toggleClass("active");
    });
</script>
</body>
</html>